url = "/api/aweirunner/project/1/"
parts = url.strip("/").split("/")

# 使用循环获取项目名称
project_name = None
i = len(parts)
for part in parts[::1]:
    if not part.isdigit():
        project_name = part

print(project_name)
